<?php include $this->header();?>
<?php if(false) {?>
<link rel="stylesheet" rev="stylesheet" href="../../../images/admincp/style.css" type="text/css" media="all" />
<?php }?>
<div id="subnav" class="mt"><a href="index.php?spider/admin/list">管理采集任务</a> | <a href="index.php?spider/admin/add" class="on">添加采集任务</a></div>
<form method="post" enctype="application/x-www-form-urlencoded" target="_self" onsubmit="return Validator.Validate(this)">
<div class="bd p1 mt">
<ul class="tabs">
  <li><a href="javascript:;" class="current">网址规则</a></li>
  <li><a href="javascript:;">内容规则</a></li>
  <li><a href="javascript:;">高级设置</a></li>
</ul>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="rank">
    <tr>
        <td align="right" valign="middle" width="140">采集任务名称</td>
        <td>
          <input name="spider_cron_name" type="text" id="spider_cron_name" onblur="Validator.check(this)" size="25" dataType="Require" msg="请填写任务名称" /></td>
    </tr>
    <tr>
        <td align="right" valign="middle" width="140">采集页面编码</td>
        <td>
            <input name="spider_cron_source_charset" id="spider_cron_source_charset-utf-8" value="utf-8" type="radio" />UTF-8
            <input name="spider_cron_source_charset" id="spider_cron_source_charset-gbk" checked="checked" value="gbk" type="radio" />GBK
            <input name="spider_cron_source_charset" id="spider_cron_source_charset-big5" value="big5" type="radio" />BIG5
            <span class=" note">采集来源网站页面使用的字符集</span>
        </td>
    </tr>
</table>
<div class="panes">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="rank">
        <tr>
            <td align="right" valign="middle">网址类型</td>
            <td><input name="data[sourcetype]" onclick="show_url_type(this.value)" id="_1" checked="checked" value="1" type="radio" />
匹配网址
    <input name="data[sourcetype]" onclick="show_url_type(this.value)" id="_2" value="2" type="radio" />
    网址列表</td>
        </tr>
        <tr>
            <td width="140" align="right" valign="middle">网址配置</td>
            <td><input name="menu_name" type="text" class="text-box" id="menu_name" size="50" /> <b class="red">*</b></td>
        </tr>
        <tr>
            <td align="right" valign="middle">网址Base</td>
            <td><input name="menu_url" type="text" class="text-box" id="menu_url" size="50"  dataType="Require" msg="请填写菜单URL" onblur="Validator.check(this)" /> <b class="red">*</b></td>
        </tr>
        <tr>
            <td width="140" rowspan="2" align="right" valign="middle">获取网址</td>
            <td class="nobd"><p>
                <input name="menu_url2" type="text" class="text-box" id="menu_url2" size="50"  datatype="Require" msg="请填写菜单URL" onblur="Validator.check(this)" />
                开始</p></td>
        </tr>
        <tr>
            <td><input name="menu_url3" type="text" class="text-box" id="menu_url3" size="50"  datatype="Require" msg="请填写菜单URL" onblur="Validator.check(this)" />
结束 </td>
        </tr>
    </table>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="rank">
    <tr>
        <td align="right" valign="middle" class="nobd" width="140">&nbsp;</td>
        <td class="nobd"><input class="btn" type="submit" value="添加" />
            <input name="重置" type="reset" class="btn" value="重置" /></td>
    </tr>
</table>
</div>
</form>
<?php include $this->footer();?>